﻿namespace FluentDml
{
    /// <summary>
    /// used to relate a property to a parameter ie "x.Name = :p1;" - x.Name is the property and p1 is the parameter
    /// </summary>
    public class PropertyMap
    {
        public PropertyMap(string propertyName, string parameter)
        {
            PropertyName = propertyName;
            Parameter = parameter;
        }

        public string Parameter { get; private set; }
        public string PropertyName { get; private set; }
    }
}